package com.yx.modules.api.dao;

import com.yx.modules.api.entity.TbClick;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 点击
 * 
 * @author luo
 * @email www.baidu.com
 * @date 2018-06-14 17:19:15
 */
@Mapper
@Repository
public interface TbClickDao extends BaseDao<TbClick> {

    List<TbClick> findByBookid(Integer bookId);

    Integer findClickSumByCid(Integer id);
}
